
{% block content %}
<div class="container">
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
        <a class="navbar-brand" href="/">小影吧</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
            aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav mr-auto">
                {% for item in filmType %}
                <li class="nav-item">
                    <a class="nav-link" href="/?type={{item.value}}">{{item.name}}</a>
                </li>
                {% endfor %}
            </ul>
            <form class="form-inline my-2 my-lg-0">
                <input id="search_data" class="form-control mr-sm-2" type="search" placeholder="搜索电影" aria-label="Search">
                <button id="submit" class="btn btn-outline-success my-2 my-sm-0" type="button">搜索</button>
            </form>
        </div>
    </nav>
</div>
{% endblock %}


